package com.wl.common.security.register;


import com.wl.system.api.model.LoginUser;

import java.util.List;

/**
 * @author: wanglin
 * @date: 2023-11-08 周三
 * @Version: 1.0
 * @Description:
 */
public interface LoginUserRegistry {
    List<LoginUser> getAllLoginUsers();

    List<String> getAllUserKeys();

    LoginUser getLoginUser(String username);

    void registerNewLoginUser(LoginUser userDetails);

    void registerNewLoginUser(String username, LoginUser userDetails);

    void removeLoginUser(String username);
}
